<?php
 	if ( ! defined('BASEPATH')) exit('No direct script access allowed');

 	class MY_Controller extends CI_Controller{
        public $user_data = array();
        public $logged_in = 0;
        public $jump_url;
        public $offset = 10;
        function __construct() {
            parent::__construct();
            $this->jump_url = !empty($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/index';
        }
       
	}